-
Notifications
You must be signed in to change notification settings - Fork 43
Telegram connection error... #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This error means TelegramRSS cant connect to https://github.com/xtrime-ru/TelegramApiServer. Make sure you done all setup steps from TelegramApiServer docs too. |
Same issue.
I recently updated telegram-rss and telegram-server. Rss crashing with same "connection error". I researched client tries to call on getInfoClient I receive {
"success": false,
"errors": [
{
"exception": "Error",
"message": "Call to undefined method danog\\MadelineProto\\API::getInfoClient()",
"file": "/app-host-link/src/Controllers/AbstractApiController.php",
"line": 173,
"code": 0,
"backtrace": [
{
"file": "/app-host-link/src/Controllers/ApiController.php",
"line": 50,
"function": "callApiCommon",
"class": "TelegramApiServer\\Controllers\\AbstractApiController",
"type": "->",
"args": [
{
"auth": {},
"account": {},
"users": {},
"contacts": {},
"messages": {},
"updates": {},
"photos": {},
"upload": {},
"help": {},
"channels": {},
"bots": {},
"payments": {},
"stickers": {},
"phone": {},
"langpack": {},
"folders": {},
"stats": {},
"chatlists": {},
"stories": {},
"premium": {},
"smsjobs": {},
"fragment": {}
}
]
},
{
"file": "/app-host-link/src/Controllers/AbstractApiController.php",
"line": 140,
"function": "callApi",
"class": "TelegramApiServer\\Controllers\\ApiController",
"type": "->",
"args": []
},
{
"file": "/app-host-link/src/Controllers/AbstractApiController.php",
"line": 77,
"function": "generateResponse",
"class": "TelegramApiServer\\Controllers\\AbstractApiController",
"type": "->",
"args": []
}
],
"previous_exception": null
}
],
"response": null
} |
Currently i cant find getInfoClient in source code. Please make sure you use latest versions of TelegramApiServer, TelegramApiServer and docker images. |
Привет @xtrime-ru Спасибо за ответ Проблема с сетью из докеров внутри php. Отпишусь по дальнейшему research. Лог вызова php
|
Возможно проблема в amphp/dns. Ранее такое уже случалось когда в docker 26 сменился формат resolv.conf файла: В качестве костыля я бы предложил указать ip либо добавить entrypoint скрипт, который будет резолвить url -> ip в баше и обновлять его в .env |
Cпасибо. По айпи запросы проходят. Thanks. Set static ip address in .env.docker file resolved issue. |
hi why get this error ?
is it possible to use proxy by .env.docker ?
for example
TELEGRAM_PROXY_ADDRESS=127.0.0.1
TELEGRAM_PROXY_PORT=2080
The text was updated successfully, but these errors were encountered: